<%@ page import="org.codehaus.groovy.grails.plugins.springsecurity.SpringSecurityUtils; com.the8thfold.anton.users.Roles; com.the8thfold.anton.ant.AntScript" %>

<div class="ui-widget-header ui-corner-top css_center" style="padding: 5px 5px; "><h1>
    <g:if test="${SpringSecurityUtils.ifAnyGranted(roles)}">
        <a href="${link}">${title}</a>
    </g:if>
    <g:else>
        ${title}
    </g:else>
</h1></div>
<div class="ui-widget-content ui-corner-bottom" style="padding: 15px; text-align: center; height: 125px;">
    <div class="css_middle">
        <span style="font-weight: bold; font-size: 48px; color: #add8e6;">${count}</span>
        ${trail}${count == 0 || count > 1 ? 's':''}
    </div>
</div>